﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PdfLucene
{
    public class PDFFile
    {
        string path;
        string fileName;
        string _abstract;
        string contents;
        string modifiedTime;
        public const string INVALID_TIME = "<INVALID_TIME>";
        string note;
    
        public string Path
        {
            get
            {
                return path;
            }
            set
            {
                path = value;
            }
        }

        public string FileName
        {
            get
            {
                return fileName;
            }
            set
            {
                fileName = value;
            }
        }

        public string Abstract
        {
            get
            {
                return _abstract;
            }
            set
            {
                _abstract = value;
            }
        }

        public string ModifiedTime
        {
            get
            {
                return modifiedTime;
            }
            set
            {
                modifiedTime = value;
            }
        }

        public string Contents
        {
            get
            {
                return contents;
            }
            set
            {
                contents = value;
            }
        }

        public string Note
        {
            get
            {
                return note; //throw new System.NotImplementedException();
            }
            set
            {
                note = value;
            }
        }
    
        public PDFFile()
        { }
        public PDFFile(string FileName, string Path,string Abstract,string ModifiedTime, string Contents)
        {
            this.fileName = FileName;
            this.path = Path;
            this._abstract = Abstract;
            this.modifiedTime = ModifiedTime;
            this.contents = Contents;
        }
        public PDFFile(string Contents)
        {
            this.contents = Contents;
        }
    }
}
